import React, { useState } from 'react'
import Mytable from '../../components/Mytable'
import { SettingOutlined } from '@ant-design/icons'

export default function Complaints() {
  const columns = [
    {
      title: '序号',
      dataIndex: 'id',
    },
    {
      title: '投诉人',
      dataIndex: 'age',
    },
    {
      title: '被投诉商家',
      dataIndex: 'address',
    },
    {
      title: '投诉内容',
      dataIndex: 'address1',
    },
    {
      title: '商家回复',
      dataIndex: 'address2',
    },
    {
      title: '平台回复',
      dataIndex: 'address3',
    },
    {
      title: '操作',
      dataIndex: 'address4',
      render: () => {
        return <div><SettingOutlined></SettingOutlined></div>
      }
    },
  ]
  
  return (
    <div>
      <Mytable columns={columns}></Mytable>
    </div>
  )
}
